﻿using GalaSoft.MvvmLight.Command;
using MSSQL.DBSync.UI.Common.AsyncCmds;

namespace MSSQL.DBSync.UI.Components.MakeComparsion
{
    public interface IMakeComparsionVM
    {
        /// <summary>
        /// 打开目录
        /// </summary>
        RelayCommand OpenSourceDbFile { get; set; }

        /// <summary>
        /// 0 未连通
        /// 1 已连通
        /// 2 连接错误
        /// </summary>
        int DBConnCheckState { get; set; }

        /// <summary>
        /// 数据连接字符串
        /// </summary>
        string Connstr { get; set; }

        /// <summary>
        /// 初始化设置首页内容
        /// </summary>
        AsyncCommand CheckConn { get; set; }

        /// <summary>
        /// 导出保存路径
        /// </summary>
        string SourceDbFile { get; set; }

        /// <summary>
        /// 是否连接所有
        /// </summary>
        bool IsSelectAll { get; set; }
    }
}